package com.example.demo.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.example.demo.pojo.Houser;

public interface IHouserService {
    int deleteByPrimaryKey(Integer id);

    int insert(Houser record);

    int insertSelective(Houser record);

    Houser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Houser record);

    int updateByPrimaryKey(Houser record);
    
    List<Houser> selectHouser();
    
    Houser selectHouserByOpenid(String openid);
    
    Houser HouserLogin(@Param("tel")String tel,@Param("pwd")String pwd);
    
    List<Houser> selectHouserByName(String name);

    Houser selectHouserByLimitOne();
}
